package com.unalm.examensustitutorio.util.entity;

import java.io.Serializable;
import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax.persistence.Table;

/**
 * The persistent class for the tb_aula database table.
 * 
 */
@Entity
@Table(name = "tb_aula")
public class EAula implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "COD_AULA")
	private int int_codAula;

	@Column(name = "DESC_AULA")
	private String str_descAula;

	@Column(name = "DISP_AULA")
	private int int_dispoAula;

	// bi-directional many-to-one association to EDiponibilidadAula
	@OneToMany(mappedBy = "tbAula")
	private List<EDiponibilidadAula> tbDiponibilidadAulas;

	public EAula() {
	}

	public int getInt_codAula() {
		return this.int_codAula;
	}

	public void setInt_codAula(int int_codAula) {
		this.int_codAula = int_codAula;
	}

	public String getStr_descAula() {
		return this.str_descAula;
	}

	public void setStr_descAula(String str_descAula) {
		this.str_descAula = str_descAula;
	}

	public List<EDiponibilidadAula> getTbDiponibilidadAulas() {
		return tbDiponibilidadAulas;
	}

	public void setTbDiponibilidadAulas(
			List<EDiponibilidadAula> tbDiponibilidadAulas) {
		this.tbDiponibilidadAulas = tbDiponibilidadAulas;
	}

	public int getInt_dispoAula() {
		return int_dispoAula;
	}

	public void setInt_dispoAula(int int_dispoAula) {
		this.int_dispoAula = int_dispoAula;
	}

}